package cn.com.blueInfo.HaiYuan.business.supplier.service;

import cn.com.blueInfo.utils.result.BootstrapTable;
import cn.com.blueInfo.utils.result.ResultInfo;

import javax.servlet.http.HttpServletRequest;

/**
 * 供应商基本信息服务接口
 * @ClassName: SupplierBaseService
 * @author suxch
 * @date 2019年4月24日  上午9:47:41
 */
public interface SupplierBaseService {

    /**
     * 分页查询供应商基本数据
     * @Title: querySupplierBaseDataByPage
     * @param request
     * @return BootstrapTable
     * @throws
     */
    BootstrapTable querySupplierBaseDataByPage(HttpServletRequest request);

    /**
     * 查询供应商基本数据
     * @Title: querySupplierBaseData
     * @param request
     * @return ResultInfo
     * @throws
     */
    ResultInfo querySupplierBaseData(HttpServletRequest request);

    /**
     * 获取最大排序编号
     * @Title: getMaxOrderNumber
     * @param request
     * @return ResultInfo
     * @throws
     */
    ResultInfo queryMaxOrderNumber(HttpServletRequest request);

    /**
     * 新增供应商基本数据
     * @Title: addSupplierBaseData
     * @param request
     * @return ResultInfo
     * @throws
     */
    ResultInfo addSupplierBaseData(HttpServletRequest request);

    /**
     * 更新供应商基本数据
     * @Title: updateSupplierBaseData
     * @param request
     * @return ResultInfo
     * @throws
     */
    ResultInfo updateSupplierBaseData(HttpServletRequest request);

    /**
     * 删除供应商基本数据
     * @Title: deleteSupplierBaseData
     * @param request
     * @return ResultInfo
     * @throws
     */
    ResultInfo deleteSupplierBaseData(HttpServletRequest request);

}
